Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add build_status_config to codebuild source object #15442

Merged
merged 4 commits into from
Apr 29, 2021

Conversation

c4po
Copy link
Contributor

@c4po c4po commented Oct 2, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #15441

Release note for CHANGELOG:

ENHANCEMENTS

* resource/aws_codebuild_project: add `build_status_config` attribute in `source` to support custom define how the build project reports the build status to the source provider

Output from acceptance testing:

% make testacc TESTARGS='-run=TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise'

==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise -timeout 120m
=== RUN   TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
=== CONT  TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise (51.12s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	51.190s

@c4po c4po requested a review from a team October 2, 2020 01:51
@ghost ghost added size/M Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/codebuild Issues and PRs that pertain to the codebuild service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Oct 2, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Oct 2, 2020
@maryelizbeth maryelizbeth removed the needs-triage Waiting for first response or review from a maintainer. label Oct 9, 2020
@c4po
Copy link
Contributor Author

c4po commented Oct 19, 2020

@bflad can you give this PR a review?

Base automatically changed from master to main January 23, 2021 00:59
@breathingdust breathingdust requested a review from a team as a code owner January 23, 2021 00:59
@ewbankkit ewbankkit self-assigned this Apr 29, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

Commercial
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSCodeBuildProject_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCodeBuildProject_ -timeout 180m
=== RUN   TestAccAWSCodeBuildProject_basic
=== PAUSE TestAccAWSCodeBuildProject_basic
=== RUN   TestAccAWSCodeBuildProject_BadgeEnabled
=== PAUSE TestAccAWSCodeBuildProject_BadgeEnabled
=== RUN   TestAccAWSCodeBuildProject_BuildTimeout
=== PAUSE TestAccAWSCodeBuildProject_BuildTimeout
=== RUN   TestAccAWSCodeBuildProject_QueuedTimeout
=== PAUSE TestAccAWSCodeBuildProject_QueuedTimeout
=== RUN   TestAccAWSCodeBuildProject_Cache
=== PAUSE TestAccAWSCodeBuildProject_Cache
=== RUN   TestAccAWSCodeBuildProject_Description
=== PAUSE TestAccAWSCodeBuildProject_Description
=== RUN   TestAccAWSCodeBuildProject_SourceVersion
=== PAUSE TestAccAWSCodeBuildProject_SourceVersion
=== RUN   TestAccAWSCodeBuildProject_EncryptionKey
=== PAUSE TestAccAWSCodeBuildProject_EncryptionKey
=== RUN   TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== RUN   TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
=== RUN   TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
=== RUN   TestAccAWSCodeBuildProject_Environment_Certificate
=== PAUSE TestAccAWSCodeBuildProject_Environment_Certificate
=== RUN   TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
=== PAUSE TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
=== RUN   TestAccAWSCodeBuildProject_LogsConfig_S3Logs
=== PAUSE TestAccAWSCodeBuildProject_LogsConfig_S3Logs
=== RUN   TestAccAWSCodeBuildProject_Source_GitCloneDepth
=== PAUSE TestAccAWSCodeBuildProject_Source_GitCloneDepth
=== RUN   TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== RUN   TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
=== RUN   TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
=== RUN   TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
=== RUN   TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_Source_InsecureSSL
=== PAUSE TestAccAWSCodeBuildProject_Source_InsecureSSL
=== RUN   TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
=== RUN   TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
=== RUN   TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_Source_Type_Bitbucket
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_Bitbucket
=== RUN   TestAccAWSCodeBuildProject_Source_Type_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_CodeCommit
=== RUN   TestAccAWSCodeBuildProject_Source_Type_CodePipeline
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_CodePipeline
=== RUN   TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_Source_Type_S3
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_S3
=== RUN   TestAccAWSCodeBuildProject_Source_Type_NoSource
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_NoSource
=== RUN   TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== RUN   TestAccAWSCodeBuildProject_Tags
=== PAUSE TestAccAWSCodeBuildProject_Tags
=== RUN   TestAccAWSCodeBuildProject_VpcConfig
=== PAUSE TestAccAWSCodeBuildProject_VpcConfig
=== RUN   TestAccAWSCodeBuildProject_WindowsServer2019Container
=== PAUSE TestAccAWSCodeBuildProject_WindowsServer2019Container
=== RUN   TestAccAWSCodeBuildProject_ARMContainer
=== PAUSE TestAccAWSCodeBuildProject_ARMContainer
=== RUN   TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== RUN   TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Location
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Location
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Name
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Name
=== RUN   TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== RUN   TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Packaging
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Packaging
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Path
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Path
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Type
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Type
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Name
    provider_test.go:55: Currently no solution to allow updates on name attribute
--- SKIP: TestAccAWSCodeBuildProject_SecondaryArtifacts_Name (0.00s)
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== RUN   TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== RUN   TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== PAUSE TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== CONT  TestAccAWSCodeBuildProject_basic
=== CONT  TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Path
=== CONT  TestAccAWSCodeBuildProject_Source_Type_S3
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Packaging
=== CONT  TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
=== CONT  TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== CONT  TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== CONT  TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Name
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Location
=== CONT  TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== CONT  TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== CONT  TestAccAWSCodeBuildProject_ARMContainer
=== CONT  TestAccAWSCodeBuildProject_WindowsServer2019Container
=== CONT  TestAccAWSCodeBuildProject_VpcConfig
=== CONT  TestAccAWSCodeBuildProject_Tags
=== CONT  TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== CONT  TestAccAWSCodeBuildProject_Source_Type_NoSource
=== CONT  TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid (19.06s)
=== CONT  TestAccAWSCodeBuildProject_Source_InsecureSSL
--- PASS: TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise (36.28s)
=== CONT  TestAccAWSCodeBuildProject_Environment_RegistryCredential
--- PASS: TestAccAWSCodeBuildProject_basic (36.45s)
=== CONT  TestAccAWSCodeBuildProject_Source_Type_CodePipeline
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSource (48.13s)
=== CONT  TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_Source_Type_S3 (48.26s)
=== CONT  TestAccAWSCodeBuildProject_Source_Type_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_WindowsServer2019Container (61.05s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
--- PASS: TestAccAWSCodeBuildProject_ARMContainer (64.67s)
=== CONT  TestAccAWSCodeBuildProject_Source_Type_Bitbucket
--- PASS: TestAccAWSCodeBuildProject_Tags (68.37s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
--- PASS: TestAccAWSCodeBuildProject_Source_InsecureSSL (54.88s)
=== CONT  TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodePipeline (37.68s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
--- PASS: TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise (82.68s)
=== CONT  TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Name (84.16s)
=== CONT  TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
--- PASS: TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled (84.28s)
=== CONT  TestAccAWSCodeBuildProject_Cache
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit (87.84s)
=== CONT  TestAccAWSCodeBuildProject_EncryptionKey
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Packaging (89.89s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
--- PASS: TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName (95.25s)
=== CONT  TestAccAWSCodeBuildProject_SourceVersion
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Type (35.21s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodeCommit (49.88s)
=== CONT  TestAccAWSCodeBuildProject_Description
--- PASS: TestAccAWSCodeBuildProject_VpcConfig (98.34s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
--- PASS: TestAccAWSCodeBuildProject_Source_Type_Bitbucket (36.69s)
=== CONT  TestAccAWSCodeBuildProject_BuildTimeout
--- PASS: TestAccAWSCodeBuildProject_Environment_RegistryCredential (67.52s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Path (59.85s)
=== CONT  TestAccAWSCodeBuildProject_QueuedTimeout
--- PASS: TestAccAWSCodeBuildProject_SourceVersion (39.67s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise (61.60s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub (52.87s)
=== CONT  TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
--- PASS: TestAccAWSCodeBuildProject_EncryptionKey (48.05s)
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Type
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Location (138.06s)
=== CONT  TestAccAWSCodeBuildProject_Source_GitCloneDepth
--- PASS: TestAccAWSCodeBuildProject_BuildTimeout (45.78s)
=== CONT  TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Path (147.20s)
=== CONT  TestAccAWSCodeBuildProject_LogsConfig_S3Logs
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket (69.80s)
=== CONT  TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging (83.39s)
=== CONT  TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType (67.86s)
=== CONT  TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_CodeCommit (117.12s)
=== CONT  TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
--- PASS: TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier (168.09s)
=== CONT  TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
--- PASS: TestAccAWSCodeBuildProject_Description (81.24s)
=== CONT  TestAccAWSCodeBuildProject_Environment_Certificate
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts (47.10s)
=== CONT  TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
--- PASS: TestAccAWSCodeBuildProject_Artifacts_NamespaceType (186.21s)
=== CONT  TestAccAWSCodeBuildProject_BadgeEnabled
--- PASS: TestAccAWSCodeBuildProject_QueuedTimeout (58.88s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName (86.91s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled (92.54s)
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable (197.71s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise (54.68s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Location (116.60s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitCloneDepth (80.48s)
--- PASS: TestAccAWSCodeBuildProject_BadgeEnabled (37.89s)
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Type (88.61s)
--- PASS: TestAccAWSCodeBuildProject_Environment_Certificate (45.82s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit (79.87s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier (93.16s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub (61.22s)
--- PASS: TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs (95.09s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub (60.78s)
--- PASS: TestAccAWSCodeBuildProject_LogsConfig_S3Logs (96.32s)
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value (87.77s)
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type (85.48s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise (96.05s)
--- PASS: TestAccAWSCodeBuildProject_Cache (215.04s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	302.301s
GovCloud
% make testacc TEST=./aws TESTARGS='-run=TestAccAWSCodeBuildProject_'     
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSCodeBuildProject_ -timeout 180m
=== RUN   TestAccAWSCodeBuildProject_basic
=== PAUSE TestAccAWSCodeBuildProject_basic
=== RUN   TestAccAWSCodeBuildProject_BadgeEnabled
=== PAUSE TestAccAWSCodeBuildProject_BadgeEnabled
=== RUN   TestAccAWSCodeBuildProject_BuildTimeout
=== PAUSE TestAccAWSCodeBuildProject_BuildTimeout
=== RUN   TestAccAWSCodeBuildProject_QueuedTimeout
=== PAUSE TestAccAWSCodeBuildProject_QueuedTimeout
=== RUN   TestAccAWSCodeBuildProject_Cache
=== PAUSE TestAccAWSCodeBuildProject_Cache
=== RUN   TestAccAWSCodeBuildProject_Description
=== PAUSE TestAccAWSCodeBuildProject_Description
=== RUN   TestAccAWSCodeBuildProject_SourceVersion
=== PAUSE TestAccAWSCodeBuildProject_SourceVersion
=== RUN   TestAccAWSCodeBuildProject_EncryptionKey
=== PAUSE TestAccAWSCodeBuildProject_EncryptionKey
=== RUN   TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
=== RUN   TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
=== RUN   TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
=== PAUSE TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
=== RUN   TestAccAWSCodeBuildProject_Environment_Certificate
=== PAUSE TestAccAWSCodeBuildProject_Environment_Certificate
=== RUN   TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
=== PAUSE TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
=== RUN   TestAccAWSCodeBuildProject_LogsConfig_S3Logs
=== PAUSE TestAccAWSCodeBuildProject_LogsConfig_S3Logs
=== RUN   TestAccAWSCodeBuildProject_Source_GitCloneDepth
=== PAUSE TestAccAWSCodeBuildProject_Source_GitCloneDepth
=== RUN   TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== RUN   TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
=== RUN   TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
=== RUN   TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
=== RUN   TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise
    resource_aws_codebuild_project_test.go:877: CodeBuild Project build status config is not supported in GovCloud partition
--- SKIP: TestAccAWSCodeBuildProject_Source_BuildStatusConfig_GitHubEnterprise (0.00s)
=== RUN   TestAccAWSCodeBuildProject_Source_InsecureSSL
=== PAUSE TestAccAWSCodeBuildProject_Source_InsecureSSL
=== RUN   TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
=== RUN   TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
=== RUN   TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_Source_Type_Bitbucket
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_Bitbucket
=== RUN   TestAccAWSCodeBuildProject_Source_Type_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_CodeCommit
=== RUN   TestAccAWSCodeBuildProject_Source_Type_CodePipeline
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_CodePipeline
=== RUN   TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
=== RUN   TestAccAWSCodeBuildProject_Source_Type_S3
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_S3
=== RUN   TestAccAWSCodeBuildProject_Source_Type_NoSource
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_NoSource
=== RUN   TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== PAUSE TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== RUN   TestAccAWSCodeBuildProject_Tags
=== PAUSE TestAccAWSCodeBuildProject_Tags
=== RUN   TestAccAWSCodeBuildProject_VpcConfig
=== PAUSE TestAccAWSCodeBuildProject_VpcConfig
=== RUN   TestAccAWSCodeBuildProject_WindowsServer2019Container
=== PAUSE TestAccAWSCodeBuildProject_WindowsServer2019Container
=== RUN   TestAccAWSCodeBuildProject_ARMContainer
=== PAUSE TestAccAWSCodeBuildProject_ARMContainer
=== RUN   TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== RUN   TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Location
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Location
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Name
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Name
=== RUN   TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== RUN   TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Packaging
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Packaging
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Path
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Path
=== RUN   TestAccAWSCodeBuildProject_Artifacts_Type
=== PAUSE TestAccAWSCodeBuildProject_Artifacts_Type
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Name
    provider_test.go:55: Currently no solution to allow updates on name attribute
--- SKIP: TestAccAWSCodeBuildProject_SecondaryArtifacts_Name (0.00s)
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
=== RUN   TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== PAUSE TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
=== RUN   TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== PAUSE TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
=== RUN   TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== PAUSE TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== CONT  TestAccAWSCodeBuildProject_basic
=== CONT  TestAccAWSCodeBuildProject_Source_Type_S3
=== CONT  TestAccAWSCodeBuildProject_Environment_RegistryCredential
=== CONT  TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_Location
=== CONT  TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName
=== CONT  TestAccAWSCodeBuildProject_Artifacts_NamespaceType
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Name
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Location
=== CONT  TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled
=== CONT  TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier
=== CONT  TestAccAWSCodeBuildProject_ARMContainer
=== CONT  TestAccAWSCodeBuildProject_WindowsServer2019Container
=== CONT  TestAccAWSCodeBuildProject_VpcConfig
=== CONT  TestAccAWSCodeBuildProject_Tags
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Packaging
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName
=== CONT  TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier
=== CONT  TestAccAWSCodeBuildProject_WindowsServer2019Container
    provider_test.go:1072: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        2021/04/29 10:18:44 [DEBUG] Using modified User-Agent: Terraform/0.12.30 HashiCorp-terraform-exec/0.13.3
        
        Error: Error creating CodeBuild project: InvalidInputException: Region us-gov-west-1 is not supported for WINDOWS_SERVER_2019_CONTAINER
        
          on terraform_plugin_test.tf line 64, in resource "aws_codebuild_project" "test":
          64: resource "aws_codebuild_project" "test" {
        
        
=== CONT  TestAccAWSCodeBuildProject_ARMContainer
    provider_test.go:1072: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        2021/04/29 10:18:45 [DEBUG] Using modified User-Agent: Terraform/0.12.30 HashiCorp-terraform-exec/0.13.3
        
        Error: Error creating CodeBuild project: InvalidInputException: Region us-gov-west-1 is not supported for ARM_CONTAINER
        
          on terraform_plugin_test.tf line 64, in resource "aws_codebuild_project" "test":
          64: resource "aws_codebuild_project" "test" {
        
        
--- SKIP: TestAccAWSCodeBuildProject_WindowsServer2019Container (18.48s)
=== CONT  TestAccAWSCodeBuildProject_Source_Type_NoSource
--- SKIP: TestAccAWSCodeBuildProject_ARMContainer (19.64s)
=== CONT  TestAccAWSCodeBuildProject_Environment_EnvironmentVariable
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSourceInvalid (28.74s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_Path
--- PASS: TestAccAWSCodeBuildProject_Source_Type_S3 (55.90s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_CodeCommit (59.44s)
=== CONT  TestAccAWSCodeBuildProject_SecondarySources_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_Artifacts_NamespaceType (65.66s)
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Type
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_ArtifactIdentifier (72.65s)
=== CONT  TestAccAWSCodeBuildProject_Artifacts_Path
--- PASS: TestAccAWSCodeBuildProject_Artifacts_ArtifactIdentifier (72.71s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_Type
--- PASS: TestAccAWSCodeBuildProject_Source_Type_NoSource (58.17s)
=== CONT  TestAccAWSCodeBuildProject_Source_GitCloneDepth
--- PASS: TestAccAWSCodeBuildProject_Artifacts_OverrideArtifactName (78.50s)
=== CONT  TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Location (87.96s)
=== CONT  TestAccAWSCodeBuildProject_LogsConfig_S3Logs
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_OverrideArtifactName (91.20s)
=== CONT  TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs
--- PASS: TestAccAWSCodeBuildProject_basic (92.23s)
=== CONT  TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts (36.37s)
=== CONT  TestAccAWSCodeBuildProject_Cache
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_EncryptionDisabled (94.69s)
=== CONT  TestAccAWSCodeBuildProject_SourceVersion
--- PASS: TestAccAWSCodeBuildProject_Environment_RegistryCredential (95.17s)
=== CONT  TestAccAWSCodeBuildProject_Description
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_CodeCommit (35.74s)
=== CONT  TestAccAWSCodeBuildProject_EncryptionKey
--- PASS: TestAccAWSCodeBuildProject_Artifacts_EncryptionDisabled (97.94s)
=== CONT  TestAccAWSCodeBuildProject_Environment_Certificate
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable (87.00s)
=== CONT  TestAccAWSCodeBuildProject_BuildTimeout
--- PASS: TestAccAWSCodeBuildProject_Tags (107.05s)
=== CONT  TestAccAWSCodeBuildProject_QueuedTimeout
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Location (107.06s)
=== CONT  TestAccAWSCodeBuildProject_BadgeEnabled
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Name (110.02s)
=== CONT  TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Type (40.94s)
=== CONT  TestAccAWSCodeBuildProject_Source_InsecureSSL
--- PASS: TestAccAWSCodeBuildProject_SourceVersion (31.23s)
=== CONT  TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_VpcConfig (127.96s)
=== CONT  TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Type (67.08s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging
--- PASS: TestAccAWSCodeBuildProject_EncryptionKey (39.40s)
=== CONT  TestAccAWSCodeBuildProject_Source_Type_Bitbucket
--- PASS: TestAccAWSCodeBuildProject_Source_GitCloneDepth (66.18s)
=== CONT  TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Path (116.36s)
=== CONT  TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_BadgeEnabled (41.45s)
=== CONT  TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise
--- PASS: TestAccAWSCodeBuildProject_Environment_Certificate (64.20s)
=== CONT  TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Path (93.02s)
=== CONT  TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Type (91.60s)
=== CONT  TestAccAWSCodeBuildProject_Source_Type_CodePipeline
--- PASS: TestAccAWSCodeBuildProject_BuildTimeout (66.03s)
=== CONT  TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub
--- PASS: TestAccAWSCodeBuildProject_LogsConfig_S3Logs (96.75s)
=== CONT  TestAccAWSCodeBuildProject_Source_Type_CodeCommit
--- PASS: TestAccAWSCodeBuildProject_Environment_EnvironmentVariable_Value (99.01s)
=== CONT  TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType
--- PASS: TestAccAWSCodeBuildProject_QueuedTimeout (86.73s)
--- PASS: TestAccAWSCodeBuildProject_Description (99.09s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHub (84.47s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_Bitbucket (60.37s)
=== CONT  TestAccAWSCodeBuildProject_Cache
    resource_aws_codebuild_project_test.go:207: Step 6/8 error: Error running apply: exit status 1
        2021/04/29 10:21:47 [DEBUG] Using modified User-Agent: Terraform/0.12.30 HashiCorp-terraform-exec/0.13.3
        
        Error: [ERROR] Error updating CodeBuild project (arn:aws-us-gov:codebuild:us-gov-west-1:357342307427:project/tf-acc-test-1924369341782377375): InvalidInputException: Bucket some-new-bucket does not exist
        
          on terraform_plugin_test.tf line 64, in resource "aws_codebuild_project" "test":
          64: resource "aws_codebuild_project" "test" {
        
        
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_GitHubEnterprise (72.62s)
--- FAIL: TestAccAWSCodeBuildProject_Cache (109.61s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_Packaging (70.22s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_GitHubEnterprise (62.44s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_Bitbucket (82.78s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodePipeline (40.95s)
--- PASS: TestAccAWSCodeBuildProject_Source_Type_CodeCommit (28.43s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHub (56.75s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHubEnterprise (72.99s)
--- PASS: TestAccAWSCodeBuildProject_SecondarySources_GitSubmodulesConfig_CodeCommit (58.45s)
--- PASS: TestAccAWSCodeBuildProject_Source_InsecureSSL (112.42s)
--- PASS: TestAccAWSCodeBuildProject_Source_GitSubmodulesConfig_GitHub (53.84s)
--- PASS: TestAccAWSCodeBuildProject_Source_ReportBuildStatus_GitHubEnterprise (96.15s)
--- PASS: TestAccAWSCodeBuildProject_SecondaryArtifacts_NamespaceType (51.75s)
--- PASS: TestAccAWSCodeBuildProject_LogsConfig_CloudWatchLogs (154.35s)
--- PASS: TestAccAWSCodeBuildProject_Artifacts_Packaging (289.34s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-aws/aws	292.554s
FAIL
make: *** [testacc] Error 1

The failure is not new and is unrelated to this change.

@ewbankkit ewbankkit merged commit 245c4bd into hashicorp:main Apr 29, 2021
@github-actions github-actions bot added this to the v3.38.0 milestone Apr 29, 2021
@ghost
Copy link

ghost commented Apr 30, 2021

This has been released in version 3.38.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. service/codebuild Issues and PRs that pertain to the codebuild service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CodeBuild support "Build status config" in source config
3 participants